package com.qn.common;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * <h1>服务器代理发件人配置文件</h1>
 *
 * @author LinXiPeng
 * @className ServerSenderProp
 * @date 2021/11/3 10:03
 * Version 1.0
 */
@Component
@Data
@ConfigurationProperties(prefix = "server-sender", ignoreUnknownFields = false)
public class ServerSenderProp {
    private String email;
    private String password;
}